package com.caregiver.watch.business.care.model.vo;

import com.caregiver.watch.business.care.model.dto.FenceRecipientInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 围栏生效人
 * @program: caregiver-watch
 * @author: 疆戟
 * @create: 2025-10-11 20:56
 */
@Data
@Schema(description = "围栏生效人列表")
public class FenceRecipientVo {

    @Schema(description = "围栏生效人列表")
    private List<FenceRecipientInfo> recipientInfos;


    public static FenceRecipientVo build(List<FenceRecipientInfo> recipientInfos) {
        FenceRecipientVo vo = new FenceRecipientVo();
        vo.recipientInfos = recipientInfos;
        return vo;
    }
}
